// null undefined string number boolean function date object

let str = '字符串'
let bool = true
let num = 123
let arr = [1,2,3]
let data = {"name": "hugo"}

console.log(typeof str)
console.log(typeof bool)
console.log(typeof num)
console.log(typeof arr)
console.log(typeof data)

function ObjType(obj){
  if(obj instanceof Array){
    return "array"
  }else{
    return "dict"
  }
}

console.log(ObjType(data))